<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::outofcore::OutofcoreOctreeBaseMetadata类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::outofcore::OutofcoreOctreeBaseMetadata类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>Encapsulated class to read JSON metadata into memory, and write the JSON metadata associated with the octree root node. This is global information that is not the same as the metadata for the root node. Inherits <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_abstract_metadata.html">OutofcoreAbstractMetadata</a> interface for metadata in <b>pcl_outofcore</b>.  
 <a href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="outofcore__base__data_8h_source.html">outofcore_base_data.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::outofcore::OutofcoreOctreeBaseMetadata 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.png" usemap="#pcl::outofcore::OutofcoreOctreeBaseMetadata_map" alt=""/>
  <map id="pcl::outofcore::OutofcoreOctreeBaseMetadata_map" name="pcl::outofcore::OutofcoreOctreeBaseMetadata_map">
<area href="classpcl_1_1outofcore_1_1_outofcore_abstract_metadata.html" alt="pcl::outofcore::OutofcoreAbstractMetadata" shape="rect" coords="0,0,271,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a28adc53a7e4cbaf520565cae91174c6f"><td class="memItemLeft" align="right" valign="top"><a id="a28adc53a7e4cbaf520565cae91174c6f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a28adc53a7e4cbaf520565cae91174c6f">OutofcoreOctreeBaseMetadata</a> ()</td></tr>
<tr class="memdesc:a28adc53a7e4cbaf520565cae91174c6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty constructor <br /></td></tr>
<tr class="separator:a28adc53a7e4cbaf520565cae91174c6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c04dbf300484c30bfd0f628602dd0a0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a9c04dbf300484c30bfd0f628602dd0a0">OutofcoreOctreeBaseMetadata</a> (const boost::filesystem::path &amp;path_arg)</td></tr>
<tr class="memdesc:a9c04dbf300484c30bfd0f628602dd0a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Load metadata from disk  <a href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a9c04dbf300484c30bfd0f628602dd0a0">更多...</a><br /></td></tr>
<tr class="separator:a9c04dbf300484c30bfd0f628602dd0a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad02f8c6d64375eebb5819129fd1ad1ac"><td class="memItemLeft" align="right" valign="top"><a id="ad02f8c6d64375eebb5819129fd1ad1ac"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#ad02f8c6d64375eebb5819129fd1ad1ac">~OutofcoreOctreeBaseMetadata</a> ()</td></tr>
<tr class="memdesc:ad02f8c6d64375eebb5819129fd1ad1ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default destructor <br /></td></tr>
<tr class="separator:ad02f8c6d64375eebb5819129fd1ad1ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b1450ec9f079ecdb349cfc14b3f301b"><td class="memItemLeft" align="right" valign="top"><a id="a2b1450ec9f079ecdb349cfc14b3f301b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a2b1450ec9f079ecdb349cfc14b3f301b">OutofcoreOctreeBaseMetadata</a> (const <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html">OutofcoreOctreeBaseMetadata</a> &amp;orig)</td></tr>
<tr class="memdesc:a2b1450ec9f079ecdb349cfc14b3f301b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor <br /></td></tr>
<tr class="separator:a2b1450ec9f079ecdb349cfc14b3f301b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafde81a365924253d68f2b94c7a65687"><td class="memItemLeft" align="right" valign="top"><a id="aafde81a365924253d68f2b94c7a65687"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#aafde81a365924253d68f2b94c7a65687">getOutofcoreVersion</a> () const</td></tr>
<tr class="memdesc:aafde81a365924253d68f2b94c7a65687"><td class="mdescLeft">&#160;</td><td class="mdescRight">et the outofcore version read from the "version" field of the JSON object <br /></td></tr>
<tr class="separator:aafde81a365924253d68f2b94c7a65687"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67bbf76e2bc3172eb95be52edf997859"><td class="memItemLeft" align="right" valign="top"><a id="a67bbf76e2bc3172eb95be52edf997859"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a67bbf76e2bc3172eb95be52edf997859">setOutofcoreVersion</a> (const int version)</td></tr>
<tr class="memdesc:a67bbf76e2bc3172eb95be52edf997859"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the outofcore version stored in the "version" field of the JSON object <br /></td></tr>
<tr class="separator:a67bbf76e2bc3172eb95be52edf997859"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafc5d5960e0eaf41cc5efdb9858725fc"><td class="memItemLeft" align="right" valign="top"><a id="aafc5d5960e0eaf41cc5efdb9858725fc"></a>
boost::filesystem::path&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#aafc5d5960e0eaf41cc5efdb9858725fc">getMetadataFilename</a> () const</td></tr>
<tr class="memdesc:aafc5d5960e0eaf41cc5efdb9858725fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the name of the JSON file <br /></td></tr>
<tr class="separator:aafc5d5960e0eaf41cc5efdb9858725fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bdd18c81ef27a050ec9ce590256c4f0"><td class="memItemLeft" align="right" valign="top"><a id="a6bdd18c81ef27a050ec9ce590256c4f0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a6bdd18c81ef27a050ec9ce590256c4f0">setMetadataFilename</a> (const boost::filesystem::path &amp;path_to_metadata)</td></tr>
<tr class="memdesc:a6bdd18c81ef27a050ec9ce590256c4f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the name of the JSON file <br /></td></tr>
<tr class="separator:a6bdd18c81ef27a050ec9ce590256c4f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51299fa0b80964d817222c8d9355e29e"><td class="memItemLeft" align="right" valign="top"><a id="a51299fa0b80964d817222c8d9355e29e"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a51299fa0b80964d817222c8d9355e29e">serializeMetadataToDisk</a> ()</td></tr>
<tr class="memdesc:a51299fa0b80964d817222c8d9355e29e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the data to a JSON file located at <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a6fd105d68f98a49e9174469bb0aed739">metadata_filename_</a> <br /></td></tr>
<tr class="separator:a51299fa0b80964d817222c8d9355e29e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a883a41412e351d9c8fab1e92244d734c"><td class="memItemLeft" align="right" valign="top"><a id="a883a41412e351d9c8fab1e92244d734c"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a883a41412e351d9c8fab1e92244d734c">loadMetadataFromDisk</a> ()</td></tr>
<tr class="memdesc:a883a41412e351d9c8fab1e92244d734c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads the data from a JSON file located at <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a6fd105d68f98a49e9174469bb0aed739">metadata_filename_</a> <br /></td></tr>
<tr class="separator:a883a41412e351d9c8fab1e92244d734c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a710690259ff5e99b486b17b595bb7b56"><td class="memItemLeft" align="right" valign="top"><a id="a710690259ff5e99b486b17b595bb7b56"></a>
virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a710690259ff5e99b486b17b595bb7b56">loadMetadataFromDisk</a> (const boost::filesystem::path &amp;path_to_metadata)</td></tr>
<tr class="memdesc:a710690259ff5e99b486b17b595bb7b56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads the data from a JSON file located at <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a6fd105d68f98a49e9174469bb0aed739">metadata_filename_</a> <br /></td></tr>
<tr class="separator:a710690259ff5e99b486b17b595bb7b56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1a6db85970c2c633a713deced6049f4"><td class="memItemLeft" align="right" valign="top"><a id="ab1a6db85970c2c633a713deced6049f4"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#ab1a6db85970c2c633a713deced6049f4">getOctreeName</a> ()</td></tr>
<tr class="memdesc:ab1a6db85970c2c633a713deced6049f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the name of the tree; this is not the same as the filename <br /></td></tr>
<tr class="separator:ab1a6db85970c2c633a713deced6049f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a465bcee16890aceb287eb601b2943636"><td class="memItemLeft" align="right" valign="top"><a id="a465bcee16890aceb287eb601b2943636"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a465bcee16890aceb287eb601b2943636">setOctreeName</a> (const std::string &amp;name_arg)</td></tr>
<tr class="memdesc:a465bcee16890aceb287eb601b2943636"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the name of the tree <br /></td></tr>
<tr class="separator:a465bcee16890aceb287eb601b2943636"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8139222ac6532460b8cf11b402a72e7f"><td class="memItemLeft" align="right" valign="top"><a id="a8139222ac6532460b8cf11b402a72e7f"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><b>getPointType</b> ()</td></tr>
<tr class="separator:a8139222ac6532460b8cf11b402a72e7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dd9c1669d0c9d80bb0d2496bbabdab1"><td class="memItemLeft" align="right" valign="top"><a id="a4dd9c1669d0c9d80bb0d2496bbabdab1"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a4dd9c1669d0c9d80bb0d2496bbabdab1">setPointType</a> (const std::string &amp;point_type_arg)</td></tr>
<tr class="memdesc:a4dd9c1669d0c9d80bb0d2496bbabdab1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a single string identifying the point type of this tree <br /></td></tr>
<tr class="separator:a4dd9c1669d0c9d80bb0d2496bbabdab1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2131cec66e65262dc1dca9e38e6bb982"><td class="memItemLeft" align="right" valign="top"><a id="a2131cec66e65262dc1dca9e38e6bb982"></a>
virtual std::vector&lt; boost::uint64_t &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getLODPoints</b> ()</td></tr>
<tr class="separator:a2131cec66e65262dc1dca9e38e6bb982"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7102a34729d5101ec5f0481dc713424a"><td class="memItemLeft" align="right" valign="top"><a id="a7102a34729d5101ec5f0481dc713424a"></a>
virtual std::vector&lt; boost::uint64_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getLODPoints</b> () const</td></tr>
<tr class="separator:a7102a34729d5101ec5f0481dc713424a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a9ce6a603994c5dcca467aa158e7ebf"><td class="memItemLeft" align="right" valign="top"><a id="a7a9ce6a603994c5dcca467aa158e7ebf"></a>
virtual boost::uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a7a9ce6a603994c5dcca467aa158e7ebf">getLODPoints</a> (const boost::uint64_t &amp;depth_index) const</td></tr>
<tr class="memdesc:a7a9ce6a603994c5dcca467aa158e7ebf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of points at the given depth <br /></td></tr>
<tr class="separator:a7a9ce6a603994c5dcca467aa158e7ebf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77dd03a7ef6e6d16208018caac1c1419"><td class="memItemLeft" align="right" valign="top"><a id="a77dd03a7ef6e6d16208018caac1c1419"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a77dd03a7ef6e6d16208018caac1c1419">setLODPoints</a> (const boost::uint64_t &amp;depth)</td></tr>
<tr class="memdesc:a77dd03a7ef6e6d16208018caac1c1419"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize the LOD vector with points all 0 <br /></td></tr>
<tr class="separator:a77dd03a7ef6e6d16208018caac1c1419"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a698e7a9a64b56c13a3cdb027fef24ac3"><td class="memItemLeft" align="right" valign="top"><a id="a698e7a9a64b56c13a3cdb027fef24ac3"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a698e7a9a64b56c13a3cdb027fef24ac3">setLODPoints</a> (std::vector&lt; boost::uint64_t &gt; &amp;lod_points_arg)</td></tr>
<tr class="memdesc:a698e7a9a64b56c13a3cdb027fef24ac3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy a vector of LOD points into this metadata (dangerous!) <br /></td></tr>
<tr class="separator:a698e7a9a64b56c13a3cdb027fef24ac3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87fdd13c43e195ed45aa4670998f3bab"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a87fdd13c43e195ed45aa4670998f3bab">setLODPoints</a> (const boost::uint64_t &amp;lod_index_arg, const boost::uint64_t &amp;num_points_arg, const bool increment=true)</td></tr>
<tr class="memdesc:a87fdd13c43e195ed45aa4670998f3bab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of points at lod_index_arg manually  <a href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a87fdd13c43e195ed45aa4670998f3bab">更多...</a><br /></td></tr>
<tr class="separator:a87fdd13c43e195ed45aa4670998f3bab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f989754ac36b9f1735b7b6e680e60e9"><td class="memItemLeft" align="right" valign="top"><a id="a9f989754ac36b9f1735b7b6e680e60e9"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a9f989754ac36b9f1735b7b6e680e60e9">setCoordinateSystem</a> (const std::string &amp;coordinate_system)</td></tr>
<tr class="memdesc:a9f989754ac36b9f1735b7b6e680e60e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set information about the coordinate system <br /></td></tr>
<tr class="separator:a9f989754ac36b9f1735b7b6e680e60e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20e86a75bc71ca77d775c6aceaa1e93b"><td class="memItemLeft" align="right" valign="top"><a id="a20e86a75bc71ca77d775c6aceaa1e93b"></a>
virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a20e86a75bc71ca77d775c6aceaa1e93b">getCoordinateSystem</a> () const</td></tr>
<tr class="memdesc:a20e86a75bc71ca77d775c6aceaa1e93b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get metadata information about the coordinate system <br /></td></tr>
<tr class="separator:a20e86a75bc71ca77d775c6aceaa1e93b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30c36a1546d0f4f14e8ec5d1d85c1c98"><td class="memItemLeft" align="right" valign="top"><a id="a30c36a1546d0f4f14e8ec5d1d85c1c98"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a30c36a1546d0f4f14e8ec5d1d85c1c98">setDepth</a> (const boost::uint64_t &amp;depth_arg)</td></tr>
<tr class="memdesc:a30c36a1546d0f4f14e8ec5d1d85c1c98"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the depth of the tree corresponding to JSON "lod:number". This should always be equal to LOD_num_points_.size()-1 <br /></td></tr>
<tr class="separator:a30c36a1546d0f4f14e8ec5d1d85c1c98"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a0416d474263291fa7d3d7b14f38de4"><td class="memItemLeft" align="right" valign="top"><a id="a0a0416d474263291fa7d3d7b14f38de4"></a>
virtual boost::uint64_t&#160;</td><td class="memItemRight" valign="bottom"><b>getDepth</b> () const</td></tr>
<tr class="separator:a0a0416d474263291fa7d3d7b14f38de4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_metadata"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_metadata')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_abstract_metadata.html">pcl::outofcore::OutofcoreAbstractMetadata</a></td></tr>
<tr class="memitem:a5e3cd93cc227f952d835ed6bf0a03c82 inherit pub_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_metadata"><td class="memItemLeft" align="right" valign="top"><a id="a5e3cd93cc227f952d835ed6bf0a03c82"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_abstract_metadata.html#a5e3cd93cc227f952d835ed6bf0a03c82">OutofcoreAbstractMetadata</a> ()</td></tr>
<tr class="memdesc:a5e3cd93cc227f952d835ed6bf0a03c82 inherit pub_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_metadata"><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty constructor <br /></td></tr>
<tr class="separator:a5e3cd93cc227f952d835ed6bf0a03c82 inherit pub_methods_classpcl_1_1outofcore_1_1_outofcore_abstract_metadata"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:ad8323b6222980b85cc2aa5ccb276722c"><td class="memItemLeft" align="right" valign="top"><a id="ad8323b6222980b85cc2aa5ccb276722c"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#ad8323b6222980b85cc2aa5ccb276722c">writeMetadataString</a> (std::vector&lt; char &gt; &amp;buf)</td></tr>
<tr class="memdesc:ad8323b6222980b85cc2aa5ccb276722c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the JSON metadata to a string <br /></td></tr>
<tr class="separator:ad8323b6222980b85cc2aa5ccb276722c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a6fd105d68f98a49e9174469bb0aed739"><td class="memItemLeft" align="right" valign="top"><a id="a6fd105d68f98a49e9174469bb0aed739"></a>
boost::filesystem::path&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a6fd105d68f98a49e9174469bb0aed739">metadata_filename_</a></td></tr>
<tr class="memdesc:a6fd105d68f98a49e9174469bb0aed739"><td class="mdescLeft">&#160;</td><td class="mdescRight">Metadata (JSON) file pathname (octree extension JSON file) <br /></td></tr>
<tr class="separator:a6fd105d68f98a49e9174469bb0aed739"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26140e727b75b854238f1985ddea3196"><td class="memItemLeft" align="right" valign="top"><a id="a26140e727b75b854238f1985ddea3196"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a26140e727b75b854238f1985ddea3196">outofcore_version_</a></td></tr>
<tr class="memdesc:a26140e727b75b854238f1985ddea3196"><td class="mdescLeft">&#160;</td><td class="mdescRight">Outofcore library version identifier; maps to JSON "version":int <br /></td></tr>
<tr class="separator:a26140e727b75b854238f1985ddea3196"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89a4c5ef740335079ff82145c8adbe8c"><td class="memItemLeft" align="right" valign="top"><a id="a89a4c5ef740335079ff82145c8adbe8c"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a89a4c5ef740335079ff82145c8adbe8c">coordinate_system_</a></td></tr>
<tr class="memdesc:a89a4c5ef740335079ff82145c8adbe8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Coordinate system; maps to JSON "coord_sys":string <br /></td></tr>
<tr class="separator:a89a4c5ef740335079ff82145c8adbe8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5934b50899daedeb463592f801c4a93"><td class="memItemLeft" align="right" valign="top"><a id="ad5934b50899daedeb463592f801c4a93"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#ad5934b50899daedeb463592f801c4a93">tree_name_</a></td></tr>
<tr class="memdesc:ad5934b50899daedeb463592f801c4a93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Name of the tree (which could be used, for example, as the name of a layer); maps to JSON "name":string <br /></td></tr>
<tr class="separator:ad5934b50899daedeb463592f801c4a93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bfa2ee56e6250bfb274c07f7ef8a423"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a8bfa2ee56e6250bfb274c07f7ef8a423">point_type_</a></td></tr>
<tr class="memdesc:a8bfa2ee56e6250bfb274c07f7ef8a423"><td class="mdescLeft">&#160;</td><td class="mdescRight">Delineates the point types of the field; maps to JSON "pointtype":string:  <a href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a8bfa2ee56e6250bfb274c07f7ef8a423">更多...</a><br /></td></tr>
<tr class="separator:a8bfa2ee56e6250bfb274c07f7ef8a423"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6612a8acad842a7d5c5b06d176ebfb8a"><td class="memItemLeft" align="right" valign="top"><a id="a6612a8acad842a7d5c5b06d176ebfb8a"></a>
boost::uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a6612a8acad842a7d5c5b06d176ebfb8a">levels_of_depth_</a></td></tr>
<tr class="memdesc:a6612a8acad842a7d5c5b06d176ebfb8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Depth of the tree (which is the number of levels of depth); maps to JSON "lod":int <br /></td></tr>
<tr class="separator:a6612a8acad842a7d5c5b06d176ebfb8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a055cef92e11c053d1aa27c3744aa8841"><td class="memItemLeft" align="right" valign="top"><a id="a055cef92e11c053d1aa27c3744aa8841"></a>
std::vector&lt; boost::uint64_t &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#a055cef92e11c053d1aa27c3744aa8841">LOD_num_points_</a></td></tr>
<tr class="memdesc:a055cef92e11c053d1aa27c3744aa8841"><td class="mdescLeft">&#160;</td><td class="mdescRight">Vector of number of points at each LOD. For a tree with no LOD, all fields will be zero except for the field indexed by LOD_points_[levels_of_depth]; maps to JSON "numpts":int array <br /></td></tr>
<tr class="separator:a055cef92e11c053d1aa27c3744aa8841"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:af0a64ad7d018d38ced11454d751c264c"><td class="memItemLeft" align="right" valign="top"><a id="af0a64ad7d018d38ced11454d751c264c"></a>
std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html#af0a64ad7d018d38ced11454d751c264c">operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html">OutofcoreOctreeBaseMetadata</a> &amp;metadata_arg)</td></tr>
<tr class="memdesc:af0a64ad7d018d38ced11454d751c264c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provide operator overload to stream ascii file data <br /></td></tr>
<tr class="separator:af0a64ad7d018d38ced11454d751c264c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>Encapsulated class to read JSON metadata into memory, and write the JSON metadata associated with the octree root node. This is global information that is not the same as the metadata for the root node. Inherits <a class="el" href="classpcl_1_1outofcore_1_1_outofcore_abstract_metadata.html">OutofcoreAbstractMetadata</a> interface for metadata in <b>pcl_outofcore</b>. </p>
<p>This class encapsulates the outofcore base metadata serialization/deserialization. At the time it was written, this depended on <a class="el" href="structc_j_s_o_n.html">cJSON</a> to write JSON objects to disk. This class can be extended to have arbitrary JSON ascii metadata fields saved to the metadata object file on disk. The class has been encapuslated to abstract the detailso of the on-disk format from the outofcore implementation. For example, the format could be changed to XML/YAML, or any dynamic format at some point.</p>
<p>The JSON file is formatted in the following way: </p><pre class="fragment">{
  "name": "nameoftree",
  "version": 3,
  "pointtype": "urp",               #(needs to be changed*)
  "lod": 3,                         #(depth of the tree
  "numpts":  [X0, X1, X2, ..., XD], #total number of points at each LOD
  "coord_system": "ECEF"            #the tree is not affected by this value
}
</pre><p>Any properties not stored in the metadata file are computed when the file is loaded. By convention, and for historical reasons from the original Urban Robotics implementation, the JSON file representing the overall tree is a JSON file named with the ".octree" extension.</p>
<dl class="section author"><dt>作者</dt><dd>Stephen Fox (<a href="#" onclick="location.href='mai'+'lto:'+'fox'+'st'+'eph'+'en'+'d@g'+'ma'+'il.'+'co'+'m'; return false;">foxst<span style="display: none;">.nosp@m.</span>ephe<span style="display: none;">.nosp@m.</span>nd@gm<span style="display: none;">.nosp@m.</span>ail.<span style="display: none;">.nosp@m.</span>com</a>) </dd></dl>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a9c04dbf300484c30bfd0f628602dd0a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c04dbf300484c30bfd0f628602dd0a0">&#9670;&nbsp;</a></span>OutofcoreOctreeBaseMetadata()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">pcl::outofcore::OutofcoreOctreeBaseMetadata::OutofcoreOctreeBaseMetadata </td>
          <td>(</td>
          <td class="paramtype">const boost::filesystem::path &amp;&#160;</td>
          <td class="paramname"><em>path_arg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Load metadata from disk </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">path_arg</td><td>Location of JSON metadata file to load from disk </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a87fdd13c43e195ed45aa4670998f3bab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87fdd13c43e195ed45aa4670998f3bab">&#9670;&nbsp;</a></span>setLODPoints()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void pcl::outofcore::OutofcoreOctreeBaseMetadata::setLODPoints </td>
          <td>(</td>
          <td class="paramtype">const boost::uint64_t &amp;&#160;</td>
          <td class="paramname"><em>lod_index_arg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const boost::uint64_t &amp;&#160;</td>
          <td class="paramname"><em>num_points_arg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>increment</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the number of points at lod_index_arg manually </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">lod_index_arg</td><td>the depth at which this increments the number of LOD points </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">num_points_arg</td><td>The number of points to store at that LOD </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">increment</td><td>If true, increments the number of points at the LOD rather than overwriting the number of points </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a8bfa2ee56e6250bfb274c07f7ef8a423"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bfa2ee56e6250bfb274c07f7ef8a423">&#9670;&nbsp;</a></span>point_type_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string pcl::outofcore::OutofcoreOctreeBaseMetadata::point_type_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Delineates the point types of the field; maps to JSON "pointtype":string: </p>
<dl class="section note"><dt>注解</dt><dd>This is inconsistent with "point type" fields used in <a class="el" href="structpcl_1_1_p_c_l_point_cloud2.html">PCLPointCloud2</a> and in other places in PCL </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>outofcore/include/pcl/outofcore/<a class="el" href="outofcore__base__data_8h_source.html">outofcore_base_data.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><b>outofcore</b></li><li class="navelem"><a class="el" href="classpcl_1_1outofcore_1_1_outofcore_octree_base_metadata.html">OutofcoreOctreeBaseMetadata</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
